<?php echo $this->Html->css('/css/mobile/means.css');?> 
<?php echo $this->Html->css('/plugin/mbupload/css/style.css'); ?>
<?php echo $this->Html->script('/js/jquery.form.min.js');?>   
<?php echo $this->Html->script('/js/mobile/user.js');?> 
<!--[if IE]> 
<?php echo $this->Html->script('/plugin/mbupload/js/html5shiv.min.js');?>
<![endif]-->   
<div class="means">
	<div class="nav_title">
		<p><span>我的</span>个人信息</p>
		<img class="lazy" onclick="window.location.href='/mobile/index/'" src="/images/common/grey.gif" data-original="/images/mobile/fanhui.png">
	</div>
	<div class="ipts">
		<form action="">
			<div class="head_img">
			   <a href="javascript:void(0);">
					头像<em></em>
					<p id="touxiang" style="float:right">
					<img class="lazy" src="<?php echo $userInfo['avatar'];?>" data-original="<?php echo $userInfo['avatar'];?>">
					</p>
				</a>
			</div>
			<div class="name">
				<a href="/mobile/name/">
					昵称<em></em>
					<span><?php echo isset($userInfo['nick_name']) && !empty($userInfo['nick_name'])?$userInfo['nick_name']:"你还没有设置用户名哦";?></span>	                
                </a>
			</div>
            <div class="sex">
                <div class="boy add" >
                	<input id="boy" name="1" type="radio" <?php echo $userInfo['sex']==1?"checked":""?>>
                	<em class="grey b_g"></em>
                	<em class="red b_r"></em>
                	<label class="radio_boy" for="boy">男神</label>
                </div>
                <div class="girl add">
                	<input id="girl" name="1" type="radio" <?php echo $userInfo['sex']==2?"checked":""?>>
                	<em class="grey g_g"></em>
                	<em class="red g_r"></em>
                	<label class="radio_girl" for="girl">女神</label>
                </div>
            	
            </div>
		</form>
	</div>
</div>

<article class="htmleaf-container">
<div id="clipArea"></div>
<div class="foot-use">
	<div class="uploader1 blue">
		<input type="button" name="file" class="button" value="打开">
		<input id="file" type="file" accept="image/*" multiple  />
	</div>
	<button id="clipBtn">截取</button>
</div>
<div id="view"></div>
</article>
<div id="orgimg" style="display:none"></div>
  
<?php echo $this->Html->script('/plugin/mbupload/js/iscroll-zoom.js');?>
<?php echo $this->Html->script('/plugin/mbupload/js/hammer.js');?>
<?php echo $this->Html->script('/plugin/mbupload/js/jquery.photoClip.js');?> 
<?php echo $this->Html->script('/plugin/mbupload/js/upload.js');?> 
<script type="text/javascript">  
$(".radio_boy").click(function () {
	_user.uptSex(1);
	$(this).css('color','#f29c9f');
	$(".b_g").css('display','none');
    $(".b_r").css('display','block');
    $(".g_g").css('display','block');
    $(".g_r").css('display','none');
    $(".radio_girl").css('color','#5a5241');
})
$(".radio_girl").click(function () {
	_user.uptSex(2);
	$(this).css('color','#f29c9f');
	$(".g_g").css('display','none');
    $(".g_r").css('display','block');
    $(".b_g").css('display','block');
    $(".b_r").css('display','none');
    $(".radio_boy").css('color','#5a5241');
})
</script>